9.1
CRITICAL CVSS 3.1
CVE-2024-51504
ZooKeeper IPAuthenticationProvider Spoofing Authentication Bypass
Description

When using IPAuthenticationProvider in ZooKeeper Admin Server there is a possibility of Authentication Bypass by Spoofing -- this only impacts IP based authentication implemented in ZooKeeper Admin Server. Default configuration of client's IP address detection in IPAuthenticationProvider, which uses HTTP request headers, is weak and allows an attacker to bypass authentication via spoofing client's IP address in request headers. Default configuration honors X-Forwarded-For HTTP header to read client's IP address. X-Forwarded-For request header is mainly used by proxy servers to identify the client and can be easily spoofed by an attacker pretending that the request comes from a different IP address. Admin Server commands, such as snapshot and restore arbitrarily can be executed on successful exploitation which could potentially lead to information leakage or service availability issues. Users are recommended to upgrade to version 3.9.3, which fixes this issue.

INFO

Published Date :

Nov. 7, 2024, 10:15 a.m.

Last Modified :

June 24, 2025, 12:27 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2024-51504 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Apache zookeeper
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 CRITICAL 134c704f-9b21-4f2e-91b3-4a467353bcc0
Solution
This information is provided by the 3rd party feeds.
  • Update to Apache ZooKeeper 3.9.3 or later.
Public PoC/Exploit Available at Github

CVE-2024-51504 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-51504.

URL Resource
https://lists.apache.org/thread/b3qrmpkto5r6989qr61fw9y2x646kqlh Mailing List Vendor Advisory
http://www.openwall.com/lists/oss-security/2024/11/06/5 Mailing List Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-51504 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

一个 CVE 漏洞预警知识库,无 exp/poc,部分包含修复方案。A knowledge base of CVE security vulnerability, no PoCs/exploits.

Updated: 1 week, 3 days ago
134 stars 18 fork 18 watcher
Born at : Jan. 5, 2023, 2:19 a.m. This repo has been linked 195 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-51504 vulnerability anywhere in the article.

  • Cybersecurity News
Raspberry Robin’s Stealth Tactics: USB Infections, Exploits, and Advanced Obfuscation Unveiled

Raspberry Robin, also known as Roshtyak, stands out as a highly advanced malicious downloader. Discovered in 2021, it has gained notoriety for its use of infected USB drives and sophisticated techniqu ... Read more

Published Date: Nov 22, 2024 (9 months ago)
  • Cybersecurity News
WorkflowKit Race Vulnerability (CVE-2024-27821): Researcher Reveals Exploit that Let Malicious Apps Hijack Shortcuts

Security researcher Snoolie K has published an in-depth analysis of a significant security flaw in WorkflowKit, which has been assigned CVE-2024-27821. This vulnerability, dubbed the “WorkflowKit Race ... Read more

Published Date: Nov 21, 2024 (9 months, 1 week ago)
  • Cybersecurity News
Ghostscript Update Patches Six Critical Vulnerabilities: Code Execution, Buffer Overflow, and Path Traversal Risks

Popular document rendering engine Ghostscript has released a critical security update addressing multiple vulnerabilities, some of which could lead to remote code execution.Ghostscript, a widely used ... Read more

Published Date: Nov 12, 2024 (9 months, 2 weeks ago)
  • Cybersecurity News
Apache ZooKeeper Security Alert: Important Flaw Impacts Admin Server (CVE-2024-51504)

Apache ZooKeeper, the widely used centralized service for managing configuration and synchronization across distributed applications, has recently issued a security advisory regarding a significant vu ... Read more

Published Date: Nov 08, 2024 (9 months, 2 weeks ago)

The following table lists the changes that have been made to the CVE-2024-51504 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Jun. 24, 2025

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:a:apache:zookeeper:*:*:*:*:*:*:*:* versions from (including) 3.9.0 up to (excluding) 3.9.3
    Added Reference Type CVE: http://www.openwall.com/lists/oss-security/2024/11/06/5 Types: Mailing List, Third Party Advisory
    Added Reference Type Apache Software Foundation: https://lists.apache.org/thread/b3qrmpkto5r6989qr61fw9y2x646kqlh Types: Mailing List, Vendor Advisory
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2024/11/06/5
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Nov. 07, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 CISA-ADP AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
  • CVE Received by [email protected]

    Nov. 07, 2024

    Action Type Old Value New Value
    Added Description When using IPAuthenticationProvider in ZooKeeper Admin Server there is a possibility of Authentication Bypass by Spoofing -- this only impacts IP based authentication implemented in ZooKeeper Admin Server. Default configuration of client's IP address detection in IPAuthenticationProvider, which uses HTTP request headers, is weak and allows an attacker to bypass authentication via spoofing client's IP address in request headers. Default configuration honors X-Forwarded-For HTTP header to read client's IP address. X-Forwarded-For request header is mainly used by proxy servers to identify the client and can be easily spoofed by an attacker pretending that the request comes from a different IP address. Admin Server commands, such as snapshot and restore arbitrarily can be executed on successful exploitation which could potentially lead to information leakage or service availability issues. Users are recommended to upgrade to version 3.9.3, which fixes this issue.
    Added Reference Apache Software Foundation https://lists.apache.org/thread/b3qrmpkto5r6989qr61fw9y2x646kqlh [No types assigned]
    Added CWE Apache Software Foundation CWE-290
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 9.1
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact